
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">
<ui:composition>
	<div id="cse-search-form" style="width: 100%;">Loading</div>
	<script src="http://www.google.com/jsapi" type="text/javascript"></script>
	<script type="text/javascript">
		google.load('search', '1', {
			language : 'en',
			style : google.loader.themes.V2_DEFAULT
		});
		google
				.setOnLoadCallback(
						function() {
							var customSearchOptions = {};
							var customSearchControl = new google.search.CustomSearchControl(
									'000546666492082922751:xx1sqalyl5m',
									customSearchOptions);
							customSearchControl
									.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
							var options = new google.search.DrawOptions();
							options
									.enableSearchboxOnly("http://www.yourhotdeal.com/searchresult.xhtml");
							customSearchControl
									.draw('cse-search-form', options);
						}, true);
	</script>
</ui:composition>
</html>
